package com.punai.gk.domain.bo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@ExcelIgnoreUnannotated
@ColumnWidth(33)
@HeadRowHeight(20)
@Data
public class GkExcel {
    @ColumnWidth(15)
    @ExcelProperty("排序")
    private String indexOne;
    @ExcelProperty("父级名称ID")
    private String pid;
    @ExcelProperty("ID")
    private String id;
    @ExcelProperty("名称")
    private String name;
    @ExcelProperty("其他内容")
    @ColumnWidth(100)
    private String content;

    List<GkExcel> children = new ArrayList<>();
}
